<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:fragment="bg2">
<body>
<canvas id="canvas" width="1920" height="960" style="position: fixed; top: 0px; left: 0px; z-index: -1;"></canvas>

<script th:src="@{/user/js/bg2.js}"></script>
</body>
</html>